package com.itheima;

import com.itcast.UserConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;

/**
 * springboot的启动类
 * @作者 itcast
 * @创建日期 2020/11/2 9:02
 **/
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@Import(UserConfig.class)
public class HelloApplication {
    public static void main(String[] args) {
        // 1. 参数:  引导类 标记了@SpringBootApplication 的类
        // 2. 参数:  外部传入的参数
        SpringApplication.run(HelloApplication.class,args);
    }
}
